package com.cskaoyan.mapper.marketMapper;

import com.cskaoyan.bean.marketBean.MarketIssue;
import com.cskaoyan.bean.marketBean.MarketIssueExample;
import com.cskaoyan.bean.vo.WxglMallManagementControllerVo.IssueCreateVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface MarketIssueMapper {
    long countByExample(MarketIssueExample example);

    int deleteByExample(MarketIssueExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketIssue record);

    int insertSelective(MarketIssue record);

    List<MarketIssue> selectByExample(MarketIssueExample example);

    MarketIssue selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketIssue record, @Param("example") MarketIssueExample example);

    int updateByExample(@Param("record") MarketIssue record, @Param("example") MarketIssueExample example);

    int updateByPrimaryKeySelective(MarketIssue record);

    int updateByPrimaryKey(MarketIssue record);

    int issueCreat(@Param("issue") MarketIssue marketIssue);

    int issueUpdate(@Param("id") Integer id, @Param("question") String question, @Param("answer") String answer, @Param("date") Date date);

    int issueDelete(@Param("id") Integer id);

    List<MarketIssue> selectMarketIssue();

}